getTextLineBoundingBoxRect

abstract fun getTextLineBoundingBoxRect(block: DesignBlock, index: Int): RectF

Returns the bounds of the visible area of the given line of the text block. The values are in the scene's global coordinate space (which has its origin at the top left).

Return

the bounding box of the line.

Parameters

block

the text block whose line bounding box should be returned.

index

the index of the line whose bounding box should be returned.